if or python

44

weather = input("How's the weather? ")

if weather == "Good!" or weather == "Great!": 
	print('Glad to hear!')
else: 
	print('Too bad!')

Comments

Submit
0 Comments